package com.ld.control.business.equipment.vo.resp;

import com.ld.control.common.vo.KeyValueVo;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 设备方法参数表
 * </p>
 *
 * @author wangfeng
 * @since 2024-04-17
 */
@Data
@Schema(description = "设备方法参数")
public class EquipmentMethodParamTmpRespVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long id;

    @Schema(description = "设备方法id")
    private Integer equipmentMethodTmpId;

    @Schema(description = "参数名称")
    private String name;

    @Schema(description = "0请求参数，1返回参数")
    private Integer useType;

    @Schema(description = "是否支持变量：0否，1是")
    private Integer variableFlag;

    @Schema(description = "参数类型：int/string/objectArrau/array")
    private String paramType;

    @Schema(description = "参数值如果@开头则是变量")
    private String value;

    @Schema(description = "默认值")
    private String defaultValue;

    @Schema(description = "排序值")
    private Integer sort;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "参数选择框，如果这个有值则代表次参数用下拉框选择")
    private List<KeyValueVo> paramSelect;


}
